home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wlib11_2.zip / EXAMPLES.EXE / EXAM130.C < prev    next >
Text File  |  1991-03-13  |  957b  |  27 lines

  1.   #include "window.h"
  2.  
  3.   VIDEO_CONFIG v;
  4.  
  5.   main()
  6.   {
  7.     WindowInitializeSystem();
  8.  
  9.     /* Get video information */
  10.     ClearScreen(CREATE_VIDEO_ATTRIBUTE(black,white));
  11.     GetVideoBiosInfo(&v);
  12.     VideoPrintf("The video mode is %d\n"
  13.                 "The starting scan line of the cursor is %d\n"
  14.                 "The ending scan line of the cursor is %d \n"
  15.                 "The row of the cursor is %d \n"
  16.                 "The column of the cursor is %d\n"
  17.                 "The video page is %d\n"
  18.                 "The size of the video page is %d\n"
  19.                 "The number of rows is %d\n"
  20.                 "The number of columns is %d\n"
  21.                 "The height of the characters is %d\n",
  22.                 v.video_mode, v.cursor_startline, v.cursor_endline,
  23.                 v.cursor_row,v.cursor_col,
  24.                 v.video_page, v.video_pagesize, v.video_rows, v.video_cols,
  25.                 v.char_height);
  26.   }
  27.